package com.kzw.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * 学生
 */
public class Student {

	private Integer id;
	// 姓名
	private String name;
	// 出年日期
	private Date birthday;
	// 性别
	private String sex;

	// 有多个成绩
	private Set<Score> scores = new HashSet<Score>();

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Set<Score> getScores() {
		return scores;
	}

	public void setScores(Set<Score> scores) {
		this.scores = scores;
	}
}
